package com.cltech.service.sys;

import com.cltech.dto.SysOrganizationDto;
import com.cltech.entity.sys.SysOrganization;
import com.cltech.entity.sys.SysUser;
import com.cltech.frame.base.BaseService;
import com.cltech.frame.result.ResponseBean;
import com.cltech.dto.TreeNode;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by Administrator on 2019/4/6.
 */
public interface SysOrganizationService extends BaseService<SysOrganization, String> {
    Page<SysOrganizationDto> findAll(Map<String, String[]> queryParameters, int pageNo, int pageSize);
    ResponseBean<SysOrganization> addOrUpdate(SysOrganizationDto dto);
    ResponseBean<List<TreeNode>>organizationTree(Map<String, String[]> queryParameters);
}
